﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C01 RID: 3073
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MultiplayerFightGameStartScNotify : IMessage<MultiplayerFightGameStartScNotify>, IMessage, IEquatable<MultiplayerFightGameStartScNotify>, IDeepCloneable<MultiplayerFightGameStartScNotify>, IBufferMessage
	{
		// Token: 0x170026BB RID: 9915
		// (get) Token: 0x06008960 RID: 35168 RVA: 0x0016DAA7 File Offset: 0x0016BCA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MultiplayerFightGameStartScNotify> Parser
		{
			get
			{
				return MultiplayerFightGameStartScNotify._parser;
			}
		}

		// Token: 0x170026BC RID: 9916
		// (get) Token: 0x06008961 RID: 35169 RVA: 0x0016DAAE File Offset: 0x0016BCAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MultiplayerFightGameStartScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170026BD RID: 9917
		// (get) Token: 0x06008962 RID: 35170 RVA: 0x0016DAC0 File Offset: 0x0016BCC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MultiplayerFightGameStartScNotify.Descriptor;
			}
		}

		// Token: 0x06008963 RID: 35171 RVA: 0x0016DAC7 File Offset: 0x0016BCC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MultiplayerFightGameStartScNotify()
		{
		}

		// Token: 0x06008964 RID: 35172 RVA: 0x0016DADC File Offset: 0x0016BCDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MultiplayerFightGameStartScNotify(MultiplayerFightGameStartScNotify other) : this()
		{
			this.memberInfo_ = other.memberInfo_.Clone();
			this.dJNKCKJMNIL_ = ((other.dJNKCKJMNIL_ != null) ? other.dJNKCKJMNIL_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008965 RID: 35173 RVA: 0x0016DB2D File Offset: 0x0016BD2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MultiplayerFightGameStartScNotify Clone()
		{
			return new MultiplayerFightGameStartScNotify(this);
		}

		// Token: 0x170026BE RID: 9918
		// (get) Token: 0x06008966 RID: 35174 RVA: 0x0016DB35 File Offset: 0x0016BD35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MemberInfo> MemberInfo
		{
			get
			{
				return this.memberInfo_;
			}
		}

		// Token: 0x170026BF RID: 9919
		// (get) Token: 0x06008967 RID: 35175 RVA: 0x0016DB3D File Offset: 0x0016BD3D
		// (set) Token: 0x06008968 RID: 35176 RVA: 0x0016DB45 File Offset: 0x0016BD45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MNFBAOKFOPM DJNKCKJMNIL
		{
			get
			{
				return this.dJNKCKJMNIL_;
			}
			set
			{
				this.dJNKCKJMNIL_ = value;
			}
		}

		// Token: 0x06008969 RID: 35177 RVA: 0x0016DB4E File Offset: 0x0016BD4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MultiplayerFightGameStartScNotify);
		}

		// Token: 0x0600896A RID: 35178 RVA: 0x0016DB5C File Offset: 0x0016BD5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MultiplayerFightGameStartScNotify other)
		{
			return other != null && (other == this || (this.memberInfo_.Equals(other.memberInfo_) && object.Equals(this.DJNKCKJMNIL, other.DJNKCKJMNIL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600896B RID: 35179 RVA: 0x0016DBB0 File Offset: 0x0016BDB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.memberInfo_.GetHashCode();
			if (this.dJNKCKJMNIL_ != null)
			{
				num ^= this.DJNKCKJMNIL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600896C RID: 35180 RVA: 0x0016DBFA File Offset: 0x0016BDFA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600896D RID: 35181 RVA: 0x0016DC02 File Offset: 0x0016BE02
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600896E RID: 35182 RVA: 0x0016DC0C File Offset: 0x0016BE0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.dJNKCKJMNIL_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.DJNKCKJMNIL);
			}
			this.memberInfo_.WriteTo(ref output, MultiplayerFightGameStartScNotify._repeated_memberInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600896F RID: 35183 RVA: 0x0016DC5C File Offset: 0x0016BE5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.memberInfo_.CalculateSize(MultiplayerFightGameStartScNotify._repeated_memberInfo_codec);
			if (this.dJNKCKJMNIL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.DJNKCKJMNIL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008970 RID: 35184 RVA: 0x0016DCB0 File Offset: 0x0016BEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MultiplayerFightGameStartScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.memberInfo_.Add(other.memberInfo_);
			if (other.dJNKCKJMNIL_ != null)
			{
				if (this.dJNKCKJMNIL_ == null)
				{
					this.DJNKCKJMNIL = new MNFBAOKFOPM();
				}
				this.DJNKCKJMNIL.MergeFrom(other.DJNKCKJMNIL);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008971 RID: 35185 RVA: 0x0016DD15 File Offset: 0x0016BF15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008972 RID: 35186 RVA: 0x0016DD20 File Offset: 0x0016BF20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 42U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.memberInfo_.AddEntriesFrom(ref input, MultiplayerFightGameStartScNotify._repeated_memberInfo_codec);
					}
				}
				else
				{
					if (this.dJNKCKJMNIL_ == null)
					{
						this.DJNKCKJMNIL = new MNFBAOKFOPM();
					}
					input.ReadMessage(this.DJNKCKJMNIL);
				}
			}
		}

		// Token: 0x04003481 RID: 13441
		private static readonly MessageParser<MultiplayerFightGameStartScNotify> _parser = new MessageParser<MultiplayerFightGameStartScNotify>(() => new MultiplayerFightGameStartScNotify());

		// Token: 0x04003482 RID: 13442
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003483 RID: 13443
		public const int MemberInfoFieldNumber = 9;

		// Token: 0x04003484 RID: 13444
		private static readonly FieldCodec<MemberInfo> _repeated_memberInfo_codec = FieldCodec.ForMessage<MemberInfo>(74U, EggLink.DanhengServer.Proto.MemberInfo.Parser);

		// Token: 0x04003485 RID: 13445
		private readonly RepeatedField<MemberInfo> memberInfo_ = new RepeatedField<MemberInfo>();

		// Token: 0x04003486 RID: 13446
		public const int DJNKCKJMNILFieldNumber = 5;

		// Token: 0x04003487 RID: 13447
		private MNFBAOKFOPM dJNKCKJMNIL_;
	}
}
